Skip to content

Tighten handling of trailing input#512

Merged
ctz merged 4 commits into
mainfrom
jbp-untrusted-style
Jun 11, 2026
Merged

Tighten handling of trailing input#512
ctz merged 4 commits into
mainfrom
jbp-untrusted-style

Conversation

@ctz

@ctz ctz commented Jun 11, 2026

Copy link
Copy Markdown
Member

This uses untrusted::Input::read_all() and untrusted::read_all_optional in more possible places, following on from #511 (comment)

@codecov

codecov Bot commented Jun 11, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 97.87234% with 1 line in your changes missing coverage. Please review.
✅ Project coverage is 97.64%. Comparing base (f2b2b01) to head (d4c6b99).
⚠️ Report is 1 commits behind head on main.

Files with missing lines Patch % Lines
src/cert.rs 93.33% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #512      +/-   ##
==========================================
- Coverage   97.65%   97.64%   -0.02%     
==========================================
  Files          20       20              
  Lines        4057     4072      +15     
==========================================
+ Hits         3962     3976      +14     
- Misses         95       96       +1     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@ctz ctz requested a review from djc June 11, 2026 12:12

@djc djc left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we use Error::TrailingData for these instead of the less meaningful/specific BadDer?

@ctz ctz force-pushed the jbp-untrusted-style branch from fc94c15 to d4c6b99 Compare June 11, 2026 19:27
@ctz ctz added this pull request to the merge queue Jun 11, 2026
Merged via the queue into main with commit 734a03b Jun 11, 2026
27 checks passed
@ctz ctz deleted the jbp-untrusted-style branch June 11, 2026 19:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants